package com.netposa.datawarehouse.statistics.vo;

import java.beans.ConstructorProperties;

public class TimeCountVO {
   private Long count;
   private String time;

   public Long getCount() {
      return this.count;
   }

   public String getTime() {
      return this.time;
   }

   public void setCount(Long count) {
      this.count = count;
   }

   public void setTime(String time) {
      this.time = time;
   }

   public boolean equals(Object o) {
      if (o == this) {
         return true;
      } else if (!(o instanceof TimeCountVO)) {
         return false;
      } else {
         TimeCountVO other = (TimeCountVO)o;
         if (!other.canEqual(this)) {
            return false;
         } else {
            Object this$count = this.getCount();
            Object other$count = other.getCount();
            if (this$count == null) {
               if (other$count != null) {
                  return false;
               }
            } else if (!this$count.equals(other$count)) {
               return false;
            }

            Object this$time = this.getTime();
            Object other$time = other.getTime();
            if (this$time == null) {
               if (other$time != null) {
                  return false;
               }
            } else if (!this$time.equals(other$time)) {
               return false;
            }

            return true;
         }
      }
   }

   protected boolean canEqual(Object other) {
      return other instanceof TimeCountVO;
   }

   public int hashCode() {
      
      int result = 1;
      Object $count = this.getCount();
      result = result * 59 + ($count == null ? 43 : $count.hashCode());
      Object $time = this.getTime();
      result = result * 59 + ($time == null ? 43 : $time.hashCode());
      return result;
   }

   public String toString() {
      return "TimeCountVO(count=" + this.getCount() + ", time=" + this.getTime() + ")";
   }

   @ConstructorProperties({"count", "time"})
   public TimeCountVO(Long count, String time) {
      this.count = count;
      this.time = time;
   }
}
